<div class="container">
    <div class="row">
        <div class="col-md-10 col-md-offset-2">
                <form class="form form-horizontal formForNews" action="<?php echo site_url("Backend/check_add_news")?>" method="post">
                    <table class="table table-bordered table-condensed text-center">
                        <caption style="margin-bottom: 30px;">
                            <span class="glyphicon glyphicon-pencil"></span>&nbsp&nbsp<span style="font-weight: bold;font-size: 15px">添加<?php echo $category;?></span>
                        </caption>
                        <thead>

                        </thead>
                        <tbody class=".table-striped">
                        <tr>
                            <td width="20%" padding="10px">发布人</td>
                            <td colspan="2">
                                <div class="input-group" style="position: relative;z-index:0;">
                                    <div class="input-group-addon">@</div>
                                    <input type="text" class="form-control" id="publisher" name="publisher" value="">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>标题</td>
                            <td colspan="2">
                                <input type="text" class="form-control" name="title" value="">
                            </td>
                        </tr>
                        <tr>
                            <td>发布时间</td>
                            <td width="50%">
                                <div style="position: relative;z-index:0;"class="input-group date form_date" data-date="" data-date-format="" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
                                    <input class="form-control publishTime" name="time" size="16" type="text" value="" readonly>
                                    <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                                    <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                                </div>
                                <input type="hidden" id="dtp_input2" value="" />
                            </td>
                            <td>
                                <table>
                                    <tr>
                                        <td>
                                            <div style="position: relative;z-index:0;"class="input-group">
                                                    <input class="form-control" name="up" id="up" value="置顶" readonly>
                                                <span class="input-group-btn dropup">
                                                <button class="btn btn-primary btn-md dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="caret"></span></button>
                                                 <ul class="dropdown-menu dropdown-up">
                                                     <li><a href="#">置顶</a></li>
                                                     <li><a href="#">不置顶</a></li>
                                                 </ul>
                                            </span>
                                            </div>
                                        </td><td width="10%"></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr heigth="500px"><td colspan="3">
                                <script style="height:400px;z-index:0;position:relative;" id="editor" type="text/plain" name="content"></script>
                            </td></tr>
                        <tr style="border:none"><td colspan="3" style="border:none">
                                <div class="col-md-offset-11 col-sm-offset-11 col-xs-offset-11">
                                    <input type="submit" class="btn btn-primary btn-sm" value="发布"/>
                                </div>
                            </td></tr>
                        </tbody>
                    </table>

                    <input type="hidden" name="category_id" value="<?php echo $category_id;?>">

                </form>
        </div>
    </div>
</div>



